package zzz.action;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import zzz.service.GetOrderService;

@Controller
@RequestMapping("/getOrder")
public class GetOrderAction extends BaseAction{

	@Autowired
	public GetOrderService getOrderService;
	
	@RequestMapping("/delHaveGetOrder")
	public String delHaveGetOrder(String hoId){
		System.out.println("hoId:"+hoId);
		getOrderService.delHaveGetOrder(hoId);
		return "redirect:../order/myGetOrder";
	}
}
